package com.vamonossoftware.spike.spring.jws;

import javax.jws.WebMethod;

import org.springframework.beans.factory.annotation.Autowired;

import javax.jws.WebMethod;
import javax.jws.WebService;

/**
 * The web service.
 * See http://localhost:8180/MySpikeServiceEndpoint?WSDL
 */

@WebService(serviceName = "MySpikeService", name = "MyEndpoint")
public class SpikeServiceEndpointImpl implements SpikeServiceEP {
    @Autowired
    SpikeService spikeService;

    @WebMethod
    public String getGreeting() {
        return spikeService.getGreeting();
    }
}
